package mest.VO.cxj;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 其他收入VO
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class OtherIncomeVO {


    private Integer id;

    //其他收入的编码
    private String tableNumber;

    //操作人，一般为财务
    private String userName;

    //收款日期
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date Time;

    //收入金额
    private String number;

    //收入内容
    private String content;

    //假删字段
    private Integer isDelete;

    //备注
    private String description;
}
